package com.yuyou.fn.educational.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by lzh on 2019/3/26.
 */
public class FullClassSaveVo   {
    private Long busTeamId;
    private Long campusId;
    private Integer segmentNo;
    @NotNull
    private Long courseTemplateId;
    @NotNull
    private Integer level;
    @NotNull
    private Integer lectureAmount;
    @NotNull
    private Integer lectureDuration;
    @NotNull
    private Integer quota;
    @NotNull
    private BigDecimal studyingFee;
    @NotEmpty
    private String className;
    @NotEmpty
    private String classAliasName;

    private Date startCourseTime;

    @Pattern(regexp = "[012][0-9]:[0-5][0-9]-[012][0-9]:[0-5][0-9]")
    private String studyingTime;

    @Pattern(regexp = "[每][天周]")
    @ApiModelProperty("每天|每周")
    @NotEmpty
    private String classPeriod;
    private Long teacherId;

    @ApiModelProperty("规避日期")
    private String avoidDate;

    public Long getBusTeamId() {
        return busTeamId;
    }

    public void setBusTeamId(Long busTeamId) {
        this.busTeamId = busTeamId;
    }

    public Long getCampusId() {
        return campusId;
    }

    public void setCampusId(Long campusId) {
        this.campusId = campusId;
    }

    public Integer getSegmentNo() {
        return segmentNo;
    }

    public void setSegmentNo(Integer segmentNo) {
        this.segmentNo = segmentNo;
    }

    public Long getCourseTemplateId() {
        return courseTemplateId;
    }

    public void setCourseTemplateId(Long courseTemplateId) {
        this.courseTemplateId = courseTemplateId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getLectureAmount() {
        return lectureAmount;
    }

    public void setLectureAmount(Integer lectureAmount) {
        this.lectureAmount = lectureAmount;
    }

    public Integer getLectureDuration() {
        return lectureDuration;
    }

    public void setLectureDuration(Integer lectureDuration) {
        this.lectureDuration = lectureDuration;
    }

    public Integer getQuota() {
        return quota;
    }

    public void setQuota(Integer quota) {
        this.quota = quota;
    }

    public BigDecimal getStudyingFee() {
        return studyingFee;
    }

    public void setStudyingFee(BigDecimal studyingFee) {
        this.studyingFee = studyingFee;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassAliasName() {
        return classAliasName;
    }

    public void setClassAliasName(String classAliasName) {
        this.classAliasName = classAliasName;
    }

    public Date getStartCourseTime() {
        return startCourseTime;
    }

    public void setStartCourseTime(Date startCourseTime) {
        this.startCourseTime = startCourseTime;
    }

    public String getStudyingTime() {
        return studyingTime;
    }

    public void setStudyingTime(String studyingTime) {
        this.studyingTime = studyingTime;
    }

    public String getClassPeriod() {
        return classPeriod;
    }

    public void setClassPeriod(String classPeriod) {
        this.classPeriod = classPeriod;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getAvoidDate() {
        return avoidDate;
    }

    public void setAvoidDate(String avoidDate) {
        this.avoidDate = avoidDate;
    }
}
